POV-Ray : Newsgroups : povray.beta-test : [doc] light groups. : [doc] light groups. Server Time
4 Nov 2024 14:13:43 EST (-0500)
  [doc] light groups.  
From: Thomas Lake
Date: 9 Sep 2001 18:52:48
Message: <3b9bf2c0$1@news.povray.org>
I'm not sure what this is, a mistake in the program, in that it accepts this
or simply a redundancy in the docs? In the docs in sec 6.5.8  Light Groups
one of the examples is:

#declare RedLight = light_source {
  <-500,500,-500>
  rgb <1,0,0>
}

light_group {
  light_source {RedLight}
  sphere {0,1 pigment {rgb 1}}
  global_lights off
}

The whole lightsource syntax has already been declared so saying
light_source{RedLight} is not necessary you only need to put:

light_group {
  RedLight
  sphere {0,1 pigment {rgb 1}}
  global_lights off
}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.